package com.opengate.demo.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 曳戈泰尔
 * @version 1.0
 * @description 任务启动类
 * @date 2023/4/27 8:59 PM
 */
@Slf4j
@EnableScheduling
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.opengate.demo.contact.feign"})
public class DemoTaskApplication {
    public static void main(String[] args) {

        System.setProperty("nacos.logging.default.config.enabled", "false");
        SpringApplication.run(DemoTaskApplication.class, args);
    }
}
